﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Login.aspx.cs" Inherits="SistemaWeb.Login" %>
<%@ Register Assembly="Coolite.Ext.Web" Namespace="Coolite.Ext.Web" TagPrefix="ext" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">


<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>Página sin título</title>
</head>
<body>    
    <form id="form1" runat="server">
    <ext:ScriptManager ID="ScriptManager1" runat="server">
    </ext:ScriptManager>        
        <ext:Window 
            ID="Window1" 
            runat="server" 
            Closable="false"
            Resizable="false"
            Height="150" 
            Icon="Lock" 
            Title="Login"
            Draggable="false"
            Width="350"
            Modal="true"
            BodyStyle="padding:5px;">
            <Body>
                <ext:FormLayout ID="FormLayout1" runat="server">
                    <ext:Anchor>
                        <ext:TextField 
                            ID="usuarioTB" 
                            runat="server" 
                            FieldLabel="Usuario" 
                            AllowBlank="false"
                            BlankText="Usuario Requerido."
                            Text=""
                            />
                    </ext:Anchor>
                    <ext:Anchor>
                        <ext:TextField 
                            ID="claveTB" 
                            runat="server" 
                            InputType="Password" 
                            FieldLabel="Password" 
                            AllowBlank="false" 
                            BlankText="Password Requerido."
                            Text=""
                            />
                    </ext:Anchor>
                </ext:FormLayout>
            </Body>
            <Buttons>
                <ext:Button ID="loginCM" runat="server" Text="Login" Icon="Accept">
                    <AjaxEvents>
                        <Click OnEvent="loginCM_Click" Success="Window1.close();">
                            <EventMask ShowMask="true" Msg="Verificando..." MinDelay="1000" />
                        </Click>
                    </AjaxEvents>
                </ext:Button>
            </Buttons>
        </ext:Window>
    </form>
</body>
</html>
